<?php
// +----------------------------------------------------------------------
// | 有理想的地方，地狱都是天堂。
// +----------------------------------------------------------------------
// | Copyright @ df81.com 版权所有
// +----------------------------------------------------------------------
// | 作者: 南国老符 邮箱：1062129401@qq.com
// +----------------------------------------------------------------------

namespace app\admin\validate;
use think\Validate;

class Sort extends Validate{
	protected $rule = [
		'title' => 'require|length:1,100',
		'urlroute' => 'require|regex:/^[a-zA-Z0-9-]{1,100}$/',
	];
	protected $message = [
		'title' => 'y_title',
		'urlroute' => 'v_urlroute_tips',
	];
}